package com.yunxi.sat.service;

import com.github.pagehelper.PageInfo;
import com.yunxi.core.web.LoginInfo;
import com.yunxi.sat.pojo.SatTargetVO;

import java.lang.reflect.InvocationTargetException;
import java.util.ArrayList;
import java.util.List;

public class SatTargetDubboServiceMock implements SatTargetDubboService {
    @Override
    public SatTargetVO getById(String id) throws InvocationTargetException, IllegalAccessException {
        return null;
    }

    @Override
    public void saveOrUpdate(SatTargetVO satTargetVO, LoginInfo loginInfo) throws InvocationTargetException, IllegalAccessException {

    }

    @Override
    public void removeById(String id) {

    }

    @Override
    public PageInfo<SatTargetVO> findPageByVO(SatTargetVO satTargetVO, Integer pageNum, Integer pageSize) throws InvocationTargetException, IllegalAccessException {
        PageInfo<SatTargetVO> pageInfo = new PageInfo<SatTargetVO>();
        List list = new ArrayList();
        SatTargetVO vo = new SatTargetVO();
        vo.setPartnerCode("暂无数据");
        list.add(vo);
        pageInfo.setList(list);
        return pageInfo;
    }

    @Override
    public PageInfo<SatTargetVO> factoryPage(SatTargetVO satTargetVO, Integer pageNum, Integer pageSize) throws Exception {
        PageInfo<SatTargetVO> pageInfo = new PageInfo<SatTargetVO>();
        List list = new ArrayList();
        SatTargetVO vo = new SatTargetVO();
        vo.setPartnerCode("暂无数据");
        list.add(vo);
        pageInfo.setList(list);
        return pageInfo;
    }

    @Override
    public void removeByListVo(List<SatTargetVO> satTargetVOList) throws IllegalAccessException, InvocationTargetException, InstantiationException {

    }

    @Override
    public List listByVo(SatTargetVO satTargetVO) {
        List list = new ArrayList();
        SatTargetVO vo = new SatTargetVO();
        vo.setPartnerCode("暂无数据");
        list.add(vo);
        return list;
    }

    @Override
    public List listByPartner(SatTargetVO satTargetVO, LoginInfo loginInfo) {
        List list = new ArrayList();
        SatTargetVO vo = new SatTargetVO();
        vo.setPartnerCode("暂无数据");
        list.add(vo);
        return list;
    }

    @Override
    public void saveByPartner(List<SatTargetVO> satTargetVOList, LoginInfo loginInfo) {

    }

    @Override
    public void newTarget(List<SatTargetVO> list) throws Exception {

    }
}
